package xyz.bali16.module.blog.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import xyz.bali16.module.blog.entity.Category;
import xyz.bali16.module.blog.model.vo.blog.CategoryVo;

import java.util.List;

@Mapper
public interface CategoryMapper extends BaseMapper<Category> {


    /**
     * 查询标签详情
     *
     * @return
     */
    List<CategoryVo> queryCategoryDetails();

    /**
     * 查询单条标签详情
     *
     * @return
     */
    CategoryVo queryOneCategoryDetail(Long categoryId);
//	List<Category> selectByArticleId(Long id);
//
//	void delete(@Param(value = "list") List<Integer> categoryList, @Param(value = "articleId") Integer articleId);

}
